<include file="Common/head" />
<link href="__PUBLIC__/Home/public/core/wow/animate.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/public/css/index.css">
<script src="__PUBLIC__/Home/public/core/jquery/1.11.3/jquery.min.js"></script>
<script src="__PUBLIC__/Home/public/core/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/Home/public/js/zzsc1.js"></script>
<script type="text/javascript" src="__STATIC__/My97DatePicker/WdatePicker.js"></script>
<script src="__STATIC__/layer/layer/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ajaxfileupload.js"></script>
<style>
	label{
		font-weight: normal;
	}
	font{
		font-weight: normal;
	}
	#show_message_1{
		font-size: 13px;
		display: inline-block;
		position: relative;
		top: 15px;
		margin-left: 10px;
	}
	.right-ps {
		 width: 450px;
	}
	.right-ps a{
		padding: 3px 6px;
		border-radius: 2px;
		margin-bottom: 7px;
	}
	.right-ps a:hover{
		background-color: #3968a7;
		color: #fff;
		cursor: pointer;
	}
	 .active1 {
		background-color: #3968a7;
		color: #fff;
	}
</style>
</head>
<body style="background: #fff;overflow-x: hidden;">
<include file="Common/top" />
<include file="Common/logo" />
<div class="container">
	<div class="row">
		<include file="Common/left" />
		<div class="right-panelbar">
			<p class="opkse-itle">首页 > 查新委托</p>
			<div class="container" >
				<div class="fenbu" align="center">
					<ul>
						<li class="active" id="bu1"><a>1</a>项目信息及委托人信息</li>
						<li id="bu2"><a>2</a>查新基本内容</li>
						<li id="bu3"><a>3</a>检索要求及其他</li>
					</ul>
				</div>
				<!--步骤1-->
				<form  method="post" id="form_work" action="__SELF__" class="form_button5">
					<div id="buzhou1">
						<div class="buzhoudiv">
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>查新项目信息</p>
							<div class="clear"></div>
							<div class="choose">
								<span>查新机构</span>
								<input type="text" placeholder="" style="width: 350px;height: 32px;"  id="chose_jg" readonly onclick="$('#myModal').modal('show')"/>
								<p style="color: red;font-size: 14px;margin-left: 40px;margin-top: -10px;display: inline-block">点击可选择查新机构</p>
							</div>
							<div class="choose">
								<span>查新范围<a>*</a></span>
								<label id="fan1">
									<input type="radio" name="cxfw" value="1"  onclick="click_name()" checked/>国内
								</label>
								<label id="fan2">
									<input type="radio" name="cxfw" value="2"  onclick="click_name()" />国外
								</label>
								<label id="fan3">
									<input type="radio" name="cxfw" value="3"  onclick="click_name()"/>国内外
								</label>
							</div>
							<div class="choose zhong_name" >
								<span>项目中文名称<a>*</a></span>
								<input type="text" placeholder="请输入项目中文名称" style="width: 500px;" name="xmmc"/>
							</div>
							<div class="choose wai_name"  style="display: none">
								<span>项目英文名称<a>*</a></span>
								<input type="text" placeholder="国外和国内外查新英文名称为必填" style="width: 604px;" name="xmmcen"/>
							</div>
							<div class="choose" style="margin-bottom: 30px;">
								<span>项目所属学科<a></a></span>
								<select style="width: 192px;height: 30px;border: 1px solid #cccccc;margin-right: 10px;margin-top: -3px;" id="subject_change" >
									<option value="">请选择学科</option>
									<volist name=":getSchoolTypeSelect()" id="vo">
										<eq name="key" value="$info.SchoolType">
											<option value="{$key}" selected="selected">{$vo}</option>
											<else/>
											<option value="{$key}">{$vo}</option>
										</eq>
									</volist>
								</select>
								<span id="sub_list" style="    width: 300px;" >

								</span>

							</div>
							<div class="is_show" style="display:none">
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>河海大学科技查新工作站信息</p>
							<div class="clear"></div>
							<div class="jiesao">
								<span>通信地址:南京市西康路1号 </span>
							</div>
							<div class="jiesao">
								<span>邮政编码：210098</span>
								<span style="margin-left:10px;padding-left: 30px;">电子信箱：tsg_xxb@hhu.edu.cn, hhuxxb@sohu.com</span>
							</div>
							<div class="jiesao">
								<span>联系人：肖东</span>
								<span style="margin-left:10px;padding-left: 20px;">电话：025-83787301</span>
								<span style="margin-left:10px;padding-left: 20px;">电话：025-83717894</span>
								<span style="margin-left:10px;padding-left: 20px;">传真：025-83717894</span>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>河海大学支付账号</p>
							<div class="clear"></div>
							<div class="jiesao">
								<span>户名：河海大学</span>
								<span style="margin-left:10px;padding-left: 20px;">帐号：4301011409001024513</span>
								<span style="margin-left:10px;padding-left: 20px;">开户行：中国工商银行南京宁海路支行</span>
							</div>
							<div class="jiesao">
								<span>用途：图书馆检索查新费</span>
								<span style="margin-left:10px;padding-left: 20px;">纳税人识别号（税号）：121000004660068699 </span>
							</div>
							<div class="jiesao">
								<span>地址、电话：南京市西康路1号 025-83786675</span>
							</div>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>委托人信息</p>
							<div class="clear"></div>
							<div class="choose">
								<span>委托人姓名<a>*</a></span>
								<input type="text" style="width: 192px; " name="wtrname" onblur="show_content()" id="first" />
								<span style="margin-left:10px;padding-left: 30px;">联系方式<a>*</a></span>
								<input type="text" style="width: 192px;" name="wtrphone" class="xmmc" placeholder="手机或固定电话" />
							</div>
							<div class="choose">
								<span>联系人姓名<a>*</a></span>
								<input type="text" style="width: 192px; " name="lxrname"/>
								<span style="margin-left:10px;padding-left: 30px;">联系方式<a>*</a></span>
								<input type="text" style="width: 192px;" name="phone" placeholder="手机或固定电话"/>
							</div>
							<div class="choose">
								<span>委托单位<a>*</a></span>
								<input type="text" placeholder="请正确填写单位全称" style="width: 500px;" name="wtdw"/>
							</div>
							<div class="choose">
								<span>通讯地址<a>*</a></span>
								<input type="text" placeholder="请正确填写通讯地址" style="width: 500px;" name="txdz"/>
							</div>
							<div class="choose">
								<span>邮政编码<a></a></span>
								<input type="text" style="width: 192px;" name="lxryzbm"/>
								<span style="margin-left:10px;padding-left: 30px;">联系邮箱<a>*</a></span>
								<input type="text" style="width: 192px;" name="wtremail" placeholder="请填写有效Email地址"/>
							</div>
						</div>
						<div class="tijiao">
							<input type="button" onclick="first_form()" value="继续填写" style="background: #3245a3;border: none;width: 120px;    border-radius: 2px;line-height: 40px;color: #fff;font-weight: bold;font-size: 14px;">
						</div>
					</div>
					<div id="buzhou2" style="display: none;">
						<div class="buzhoudiv">
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>查新目的</p>

							<div class="clear"></div>
							<div class="choose2">
								<span>查新目的<a>*</a></span>
								<ul>
									<li>
										<label>
											<input type="radio" name="cxmd" value="1" class="show_action" onclick="research(this)" data_dd="1">  科研立项
										</label>
										<label>
											<input type="radio" name="cxmd" value="2" >鉴定、验收、评价
										</label>
										<label>
											<input type="radio" name="cxmd" value="3" >奖励申报
										</label>
										<label>
											<input type="radio" name="cxmd" value="4" >申请专利
										</label>
										<label>
											<input type="radio" name="cxmd" value="5" >博硕士论文开题
										</label>
										<label>
											<input type="radio" name="cxmd" value="7" >申报高新技术企业
										</label>
										<label>
											<input type="radio" name="cxmd" value="8" >申报高新技术产品
										</label>
									</li>
									<li>
										<label>
											<input type="radio" name="cxmd" value="6" onclick="other_mu(this)" data_dd="1">其他
										</label>
										<input type="text" style="width: 520px;display:none" name="cxmd_other" id="cxmd_other"/>
									</li>
								</ul>
							</div>
							<div class="choose" style="display: block" id="xxcxmd">
								<span>详细查新目的<a></a></span>
								<input type="text" placeholder="科研立项，需填写详细查新目的，“如申报国家自然科学基金项目”" style="width: 604px;"name="xxcxmd" />
							</div>
							<div class="choose">
								<span>项目级别<a>*</a></span>
								<label><input type="radio" name="xmjb"  checked="checked"  value="1"/>国家级</label>
								<label><input type="radio" name="xmjb" value="2"/>省部级</label>
								<label><input type="radio" name="xmjb" value="3"/>市级</label>
								<label><input type="radio" name="xmjb" value="4"/>其他</label>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png" />查新点与技术要求</p>
							<div class="clear"></div>
							<div class="choose2" style="height: 90px;">
								<span>查新点<a>*</a></span>
								<textarea rows="10" cols="30" placeholder="需要查证的内容要点，即与其他类似研究不同之处" name="show_add_cxd" id="show_add_cxd"></textarea>
							</div>
							<div class="choose2" style="height: 90px;">
								<span>技术要求<a>*</a></span>
								<textarea rows="10" cols="30" placeholder="着重说明查新项目的主要科学技术特征、技术参数或指标、结构、生产工艺、配方成分应用范围、查新委托人自我判断的新颖性等。"  name="jsd" id="jsd"></textarea>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>查新要求</p>
							<div class="clear"></div>
							<div class="choose2" style="height: 115px;">
								<span>查新要求<a>*</a></span>
								<ul>
									<li><label><input type="checkbox" name="cxyq[]" value="1"/>希望查新机构通过查新，证明在所查范围内有无相同或类似研究</label></li>
									<li><label><input type="checkbox" name="cxyq[]" value="2"/>希望查新机构对查新项目分别或综合进行对比分析 </label></li>
									<li><label><input type="checkbox" name="cxyq[]" value="3" onclick="other_cxyq(this)" data_dd="1"/>查新委托人提出的其他愿望</label>
										<input type="text" style="width: 388px;display: none" name="qtyq" id="qtyq"/>
									</li>
								</ul>
							</div>
							<div class="choose">
								<span>期望完成日期<a>*</a></span>
								<input type="text"  name="lqrq"  readonly="readonly"style="width: 280px;height: 32px;"  onfocus="
							WdatePicker({minDate:'%y-%M-{%d}',disabledDays:[6,0],
							skin:'whyGreen',dateFmt:'yyyy-MM-dd',
							minDate:'{:date('Y-m-d',time()+3600*24*2)}',
							maxDate:'{:date('Y-m-d',time()+3600*24*28)}'})
							" >
								<p style="color: red;font-size: 14px;margin-left: 40px;margin-top: -10px;display: inline-block">从当前日期算起，第2个基本工作日后日期可选</p>
							</div>
						</div>
						<div class="tijiao">
							<input type="button" id="but3" onclick="second_form()" value="继续填写" style="background: #3245a3;border: none;width: 120px;    border-radius: 2px;line-height: 40px;color: #fff;font-weight: bold;font-size: 14px;">
						</div>
					</div>
					<div id="buzhou3" style="display: none;">
						<div class="buzhoudiv">
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>检索要求</p>
							<div class="clear"></div>
							<div class="choose2" style="height: 90px;">
								<span>中文检索词<a>*</a></span>
								<textarea rows="10" cols="30" placeholder="规范词、同义词、广义词、狭义词、相关词" name="keywords_cn"></textarea>
							</div>
							<div class="choose2 wai_name" style="height: 90px;display: none">
								<span>外文检索词<a>*</a></span>
								<textarea rows="10" cols="30" placeholder="国外、国内外检索必填" name="keywords_en"></textarea>
							</div>
							<div class="choose2" style="height: 90px;">
								<span>检索数量备注</span>
								<textarea rows="10" cols="30" placeholder="国内外相关文献量篇数、国内外密切相关文献篇数" name="show_user_jf_pubdate"></textarea>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>收费与报告领取</p>
							<div class="clear"></div>
							<div class="choose">
								<span>缴费方式<a>*</a></span>
								<label id="zhifu1"><input name="fkfs" type="radio" value="1" checked />网上支付</label>
								<label id="zhifu2"><input type="radio" name="fkfs" value="3" />现金支付</label>
								<label id="zhifu4"><input type="radio" name="fkfs" value="4" />校内转账</label>
								<!--<label id="zhifu3">
									<input type="radio" name="fkfs" value="2"  data-toggle="modal" data-target="#myModal2"/>汇款凭证上传<span id="show_message_1" ></span>
								</label>-->
								<!--<button id="zhifu" data-toggle="#modalzz" data-target="#myModalzz" style="display: none;width: 100px;height: 32px;border:1px solid #bfbfbf;background-color: #cccccc;color:#3a3a3a;border-radius: 3px; ">上传</button>-->
							</div>
							<div class="choose">
								<span>是否需要发票<a>*</a></span>
								<label id="buyao"><input type="radio" name="dwsh"  checked="checked" value="1" onclick="fp_show()" />无需发票</label>
								<label id="yao"><input type="radio" name="dwsh"  value="2" onclick="fp_show()"/>需要发票</label>
								<!--<input id="yao1" type="text" style="width: 290px; display: none" placeholder="请填写发票抬头" name="kpdw">-->
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>发票抬头<a>*</a></span>
								<input type="text" style="width: 290px;" placeholder="请填写发票抬头" name="kpdw">
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>地址<a>*</a></span>
								<input type="text" style="width: 290px; " placeholder="请填写发票地址" name="kpaddr">
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>税号<a>*</a></span>
								<input type="text" style="width: 290px;" placeholder="请填写税号" name="kpsh">
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>电话<a>*</a></span>
								<input  type="text" style="width: 290px;"  placeholder="请填写电话" name="kptel">
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>开户行<a>*</a></span>
								<input  type="text" style="width: 290px;" placeholder="请填写开户行" name="kpkhh">
							</div>
							<div class="choose fpxx_edit" style="display:none">
								<span>账号<a>*</a></span>
								<input  type="text" style="width: 290px;" placeholder="请填写账号" name="kpzh">
							</div>
							<div class="choose">
								<span>报告领取<a>*</a></span>
								<label id="ziqu"><input type="radio" name="qbfs"  checked="checked" value="1" onclick="bg_show()"/>自取</label>
								<label id="kuaidi"><input type="radio" name="qbfs" style="margin-left: 28px;"value="2" onclick="bg_show()"/>快递</label>
								<input id="kuaidi1" type="text" style="width: 290px;display: none;margin-left: 30px" placeholder="请填写收件地址" name="kddz"/>
							</div>
							<p class="biaoti"><img src="__PUBLIC__/Home/public/img/sanjiao_left.png"/>其他</p>
							<div class="clear"></div>
							<div class="choose">
								<span>上传附件</span>
							<span data-toggle="modal" data-target="#myModal3"
								  style="width: 100px;height: 34px;border:1px solid #bfbfbf;background-color: #cccccc;text-align: center;cursor: pointer;;border-radius: 3px; ">选择文件
							</span>
								<span id="show_message_2" data-toggle="modal" data-target="#myModal3" style="    font-size: 12px;"></span>
							</div>
							<div class="choose2" style="height: 90px;">
								<span>其他说明</span>
								<textarea rows="10" cols="30" placeholder="国外、国内外检索必填" name="contents" ></textarea>
							</div>
							<div class="choose">
								<span>委托人签名<a>*</a></span>
								<input type="text" style="width: 227px;color: black;" placeholder="" readonly  id="second" name="wtr_name"/>
								<span style="margin-right: 0;padding-left: 30px;" >委托时间</span>
								<input type="text" style="width: 234px;background-color: #e4e4e4;color: black;"value="{$now}" placeholder="2016-05-11 18:13:53" disabled="disabled"/>
							</div>
							<!--<div class="choose">-->
							<!--<span>查新员签名</span>-->
							<!--<input type="text" style="width: 227px;background-color: #e4e4e4; " disabled="disabled"/>-->
							<!--<span style="margin-right: 0;padding-left: 30px;">完成时间</span>-->
							<!--<input type="text" style="width: 234px;background-color: #e4e4e4;" disabled="disabled"/>-->
							<!--</div>-->
						</div>
						<div class="tijiao">
							<input type="hidden" id="department_id" name="department_id">
							<input type="hidden" name="upload_ids" id="upload_icoA" value="{$info.upload_ids}" class="file_1"/>
							<input type="hidden" name="sqfj" id="upload_icoB" value="{$info.sqfj}" />
							<button type="submit" class="ajax-post" target-form="form_button5" target-submit="submit">提交</button>
							<!--onclick=" return last_form()"-->
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
</div>
<include file="Common/foot" />
</body>

<!--汇款凭证弹框-->
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close"
						data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					汇款凭证上传
				</h4>
			</div>
			<div class="modal-body">
				<div  id="xzwj">
					<!--<input type='text' name='textfield' id='textfield' class="form-control_1" readonly="readonly"  style="margin-left: 0px" />-->
					<input type='button' class='btn_liu ' value='选择文件'  />
					<input type="file"  onchange="ajaxFileUpload('icoA',1);" id="icoA" name="icoA" class="file_1"readonly style="margin-left: -77px;opacity: 0;">
					<div class="main_chaxin_1_2-8">
						<span class="span1" style="color:red;font-size: 12px;"> (目前只支持后缀名为 jpg , png , jpeg , bmp 格式)</span>
						<div id="show_upload_message_icoA" class="span1">
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default"
						data-dismiss="modal" style="background: none">关闭
				</button>
			</div>
		</div>
	</div>
</div>
<!--上传附件弹窗-->
<div class="modal fade" id="myModal3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close"
						data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel12">
					上传附件
				</h4>
			</div>
			<div class="modal-body">
				<div class="form-group"  id="form-group-c3">
					<input type='button' class='btn_liu' value='选择文件' />
					<input type="file"   class="file_2" onchange="ajaxFileUpload('icoB');" id="icoB" name="icoB" style="margin-left: -77px;opacity: 0;">
				</div>
				<div class="main_chaxin_1_2-8">
					<span class="span1" style="color:red;font-size: 12px;"> (目前只支持后缀名为 rar.zip.doc.docx 格式)</span>
					<div id="show_upload_message_icoB" class="span2">
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal" style="background: none">关闭
				</button>

			</div>
		</div>
	</div>
</div>
<script>
	$(function(){
		highlight_nav3('{:U("Task/add")}');
	})
	var value = '';
	$(function () { $('#myModal').modal({
		keyboard: true
	})});
	//显示其他
	function other_mu (obj) {
		var name= $(obj).attr('data_dd');
		if(name==1){
			$('#cxmd_other').show();
			$(obj).attr('data_dd','2')
		}else{
			$('#cxmd_other').hide();
			$(obj).attr('data_dd','1')
		}
	}
	//显示其他要求
	function other_cxyq (obj) {
		var name= $(obj).attr('data_dd');
		if(name==1){
			$('#qtyq').show();
			$(obj).attr('data_dd','2')
		}else{
			$('#qtyq').hide();
			$(obj).attr('data_dd','1')
		}
	}

	function selectDeparId(id,name){
		if(id){
			$("#department_id").val(id);
//			$("#chose_jg").val(name);
			$(".right-ps a").removeClass("active1");
			$("#idselect_"+id).addClass('active1');
		}
	}

	//点击确认的时候把值传到前台并且关闭
	function show_name(id){
		if(id == 1)
		{
			var name = $('.right-ps a.active1').text();
			$("#chose_jg").val(name);
			if(name == '河海大学'){
				$('.is_show').css('display','block');
			}else{
				$('.is_show').css('display','none');
			}
		}
		else    //取消选择
		{
			$('.right-ps a.active1').removeClass('active1');
			$("#chose_jg").val('');
			$("#department_id").val('');
		}
	}

	//学科改变时的选择
	$('#subject_change').change(function () {
		var value = $(this).val();
		var url = '{:U("Task/subject")}';
		$.ajax({
			type: "POST",
			url: url,
			data: {fid: value},
			dataType: "json",
			success: function (data) {
				$('#sub_list').empty();   //清空cate_list里面的所有内容
				var html = '';

				if(data.state==1){
					html += '<span style="margin-right: 0;padding-left: 30px;">二级学科</span>';
					html += '<select style="width: 192px;height: 30px;border: 1px solid #cccccc;margin-right: 10px;margin-top: -3px;"name="xkfl" >';
					for(var i=0;i<data.list.length;i++){
						html +="<option value='"+data['list'][i]['id']+"'>"+data['list'][i]['title']+"</option>";
					}
					html += '</select>';
				}else{
					layer.alert('请在后台添加二级学科！');
				}
				$('#sub_list').html(html);
			}
		});
	})
	var getDataByParm = {
		//根据学科分类查询学校
		getCate : function (cate,obj) {
			var url = '{:U("Task/getCateType")}';
			$(obj).addClass('active1').siblings("a").removeClass("active1");
			$.ajax({
				type: "POST",
				url: url,
				data: {cate: cate},
				dataType: "json",
				success: function (data) {
					$('#cate_list').empty();   //清空cate_list里面的所有内容
					var html = '';
					var url = '/index.php/Home/__PUBLIC__/Home/public/login';
					if(data.state){
						for(var i=0;i<data.result.length;i++){
							html +="<li ><a href='javascript:;' id='idselect_"+data['result'][i]['id']+"'  onclick='selectDeparId("+data['result'][i]['id']+",\""+data['result'][i]['name']+"\")'>"+data['result'][i]['name']+"</a></li>";
						}
					}else{
						alert('没有学科，请在后台添加！');
					}
					$('#cate_list').html(html);
				}
			});
		},
		//根据城市查询学校
		getCity:function(city){
			var url = '/index.php/Home/Task/getCity';
			var _this = obj;
			$.ajax({
				type: "POST",
				url: url,
				data: {city: city},
				dataType: "json",
				success: function (data) {
					$('#cate_list').empty();   //清空cate_list里面的所有内容
					var url = '/index.php/Home/__PUBLIC__/Home/public/login';
					var html = '';
					if(data.state){
						for(var i=0;i<data.result.length;i++){
							html +="<a href='javascript:;' id='idselect_"+data['result'][i]['id']+"' onclick='selectDeparId("+data['result'][i]['id']+",\""+data['result'][i]['name']+"\")'>"+data['result'][i]['name']+"</a>";
						}
					}else{
						alert('数据错误');
					}
					$('#cate_list').html(html);
				}
			});
		},
	}
</script>
</html>
<!--浮层-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">×
				</button>
				<h4 class="modal-title" id="myModalLabel1">
					欢迎使用科技查新平台！
				</h4>
			</div>
			<div class="modal-body">
				<span class="tan_title">科技查新机构选择<a>（若您无需选择科技查新机构，请关闭该弹窗！）</a></span>
				<div>
					<div class="psanm">
						<div class="sejjr row">
							<div class="left-ps">南京地区</div>
							<div class="right-ps">
								<volist name="list" id="vo">
									<if condition="$vo['city'] eq '0'">
										<a  id="idselect_{$vo.fid}" onclick="selectDeparId('{$vo.fid}','{$vo.fid|getAgencynameById}')" >{$vo.fid|getAgencynameById}</a>
									</if>
								</volist>
							</div>
						</div>
						<div class="sejjr row">
							<div class="left-ps">苏锡常地区</div>
							<div class="right-ps">
								<volist name="list" id="vo">
									<if condition="($vo['city'] lt 4) AND ($vo['city'] gt 0)">
										<a  id="idselect_{$vo.fid}" onclick="selectDeparId('{$vo.fid}','{$vo.fid|getAgencynameById}')" >{$vo.fid|getAgencynameById}</a>
									</if>
								</volist>
							</div>
						</div>
						<div class="sejjr row">
							<div class="left-ps">其他地区</div>
							<div class="right-ps">
								<volist name="list" id="vo">
									<if condition="$vo['city'] gt 3">
										<a  id="idselect_{$vo.fid}" onclick="selectDeparId('{$vo.fid}','{$vo.fid|getAgencynameById}')" >{$vo.fid|getAgencynameById}</a>
									</if>
								</volist>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer" style="text-align: center">
				<button type="button" class="btn btn-primary" onclick="show_name(1)" data-dismiss="modal">
					确定
				</button>
				<button type="button" class="btn btn-primary" onclick="show_name(2)" data-dismiss="modal">
					取消机构
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div><!-- /.modal --